package hos.demo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import hos.java.compat.CalendarFormat
import hos.kotlin.convertTime
import hos.kotlin.orEmpty
import hos.kotlin.orInt

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
       val time = "2022-08-08".convertTime(CalendarFormat.y_mo_d, CalendarFormat.y_mo_d_h_m)
        Log.i("time", "onCreate: $time")
        "".orInt()
        1.orEmpty(-1)
    }
}